package com.v8dn.app.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.v8dn.app.bean.UserBean;

@Repository("mapper.userMapper")
public interface UserMapper{
	public UserBean getUser(Integer userID);
	public UserBean getUserAndRole(Integer userID);
	public List<UserBean> getUserAll();
	public void insertUser(UserBean userBean);
	public void deleteUser(UserBean userBean);
	public void updateUser(UserBean userBean);
	public UserBean getUserByName(String username);
}
